/*
 micro app uitls
*/

// 向主应用发送数据
export function sendDataToMain(data) {
  if (window.__MICRO_APP_ENVIRONMENT__) {
    window.microApp.dispatch(data || {})
  }
}
